<template>
  <div id="nav">
    <router-link to="/">CodeMirror的使用</router-link> |
    <router-link to="/MonitorScrolling">滚动监听</router-link>|
    <router-link to="/Draggable">拖拽功能</router-link>|
    <router-link to="/nested-example">拖拽功能nested</router-link>|
    <router-link to="/DragTable">table拖拽功能</router-link>|
    <router-link to="/ForInPromise">多层for循环中的请求异步问题</router-link>|
    <router-link to="/CustomShowDate">控制时间控件的显示隐藏</router-link>|
    <router-link to="/myselect">多选组件</router-link>|
    <router-link to="/hoverTable">固定栏鼠标滑动table样式</router-link>|
    <router-view />
  </div>
</template>

<style>
/* #app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
} */
html,
body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}
#app {
  width: 100%;
  height: 100%;
}
#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
